﻿// -----------------------------------------------------------------------
// <copyright file="IBaseInterface.cs" company="Abyssalsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Gui.BaseMask
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    /// <summary>
    /// Contains common events and properties for all interfaces
    /// </summary>
    public interface IBaseInterface
    {
        /// <summary> Mask Load event </summary>
        event EventHandler MaskLoad;

        /// <summary> Mask Close event </summary>
        event EventHandler MaskClose;

        /// <summary> Mask DoubleClick event </summary>
        event EventHandler MaskDoubleClick;

        /// <summary> Mask Control add event </summary>
        event System.Windows.Forms.ControlEventHandler ControlAdded;

        /// <summary> Gets the parent form that contains our mask </summary>
        System.Windows.Forms.Form IForm { get; }
    }
}
